package com.ganbo.rabbitmq.producer.repository;


import com.ganbo.rabbitmq.producer.entity.ProducerMessage;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface ProducerMessageRepository extends JpaRepository<ProducerMessage, Long> {

    ProducerMessage findByMessageId(String messageId);

}
